package wayPointTest;


import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import WayPoints.NERecorder;

import junit.framework.TestCase;

public class NERecorderInitialisation {

	protected NERecorder recorder;

	@Before
	public void setUp() {
		this.recorder = new NERecorder();
		
	}
	
	@Test
	//création d'une arraylist de waypoint sans ajouter d'élément
	public void constructorShouldInitializePathsList() {
		assertTrue(recorder.getPathsList().isEmpty());
		
	}
	
	@Test
	public void constructorShouldInitialiseACurrentDestination() {
		assertTrue(recorder.getCurrentDestination() != null);
		
	}
	
	@Test
	public void currentDestinationPathShouldBeEmpty() {
		assertTrue(recorder.getCurrentDestination().getPath().isEmpty());
		
	}
	
}
